﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Framework.Message.SMS.SGIP.Commands
{
    /// <summary>
    /// Bind操作由Bind命令和Bind_Resp应答组成。客户端首先发送Bind命令，服务器端收到Bind命令后，对命令发送方进行验证，然后返回Bind_Resp应答。
    /// </summary>
    public class BindRespCommand : RespCommand
    {
        #region 构造函数
        public BindRespCommand()
        {
        }

        public BindRespCommand(byte[] bytes)
            : base(bytes)
        {
        }

        public BindRespCommand(byte[] bytes, int startIndex)
            : base(bytes, startIndex)
        {
        }

        public BindRespCommand(CommandSequence sequence)
            : base(sequence)
        {
        } 
        #endregion

        public override uint BodyLength
        {
            get { return 1 + 8; }
        }

        public override SGIPCommandType CommandType
        {
            get { return SGIPCommandType.Bind_Resp; }
        }
    }
}
